<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<div class="input-group"
	style="margin-left: 36px; width: 287px; margin-bottom: 12px;">
	<span class="input-group-addon" style="width: 80px;">选择班级</span> <select
		name="tbclassid" id="tbclassid" onchange="gaibian();"
		class="form-control" style="width: 260px;">
		<c:forEach items="${tbClass}" var="s">
			<option value="${s.id }">${s.className}</option>
		</c:forEach>
	</select>
</div>

<div id="sutdent1"></div>
<script type="text/javascript">
	gaibian();
	function gaibian() {
		var id = $("#tbclassid").val();
		$("#sutdent1").load("../student/studentall?tbclassid="+id);
	}
</script>
